<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .box-out{
      border:1px solid #000;
     
    }
    .box-out div{
      display: inline-block;
      margin-left: 10px;
      width:200px;
      border:1px solid #f00;
      vertical-align: text-top; 
    }
    .box1{
      height: 200px;
    }
    .box2{
      height: 230px;
    }
    .box3{
      height: 200px;
    }
    .box4{
      height: 200px;
    }
  </style>
</head>
<body>
  <div class="box-out">
    <div class="box1"></div>
    <div  class="box2"></div>
    <div  class="box3"></div>
    <div class="box4"></div>

  </div>
</body>
</html>